<?php

namespace App\Models;

use App\Common\Constant\Params;
use App\Services\IMasterService;
use App\Services\IStorageService;
use Carbon\Carbon;
use Illuminate\Notifications\Notifiable;
use Illuminate\Support\Collection;

class OldOrder extends BaseModel
{

    protected $connection = 'localdocker';

    protected $table = 'orders';

    protected $primaryKey = 'o_id';

    const CREATED_AT = 'o_add_time';
    const UPDATED_AT = 'o_upd_time';

    protected $dateFormat = 'U';

    protected $fillable = [
        'o_number',
        'o_checknumber',
        'o_sender',
        'o_me_id',
        'o_master',
        'o_masterlist',
        'o_prostate',
        'o_refundstate',
        'o_tracestate',
        'o_otracestate',
        'o_mastate',
        'o_mepaystate',
        'o_paystate',
        'o_createtime',
        'o_paytime',
        'o_meettime',
        'o_couponmoney',
        'o_cid',
        'o_dismoney',
        'o_trueprice',
        'o_price',
        'o_ycprice',
        'o_ycmarke',
        'o_customer',
        'o_custphone',
        'o_custaddress',
        'o_memark',
        'o_cargo',
        'o_cargoimg',
        'o_cargolistid',
        'o_cargolistcat',
        'o_cargolistname',
        'o_cargolistps',
        'o_cargolistnum',
        'o_cargolistimg',
        'o_cargolistprice',
        'o_service',
        'o_standard',
        'o_finishtime',
        'o_elevator',
        'o_floor',
        'o_servicecategory',
        'o_servicetype',
        'o_kefumark',
        'o_logistatus',
        'o_logisticsmoney',
        'o_logisticsnumber',
        'o_logisticsnum',
        'o_logistiaddress',
        'o_logisname',
        'o_logimark',
        'o_logiphone',
        'o_feedback',
        'o_refuseinfo',
    ];

    protected $casts = [
    ];

}
